package com.aids_malaria.event;

import com.aids_malaria.http.response.AreaC;
import com.aids_malaria.http.response.AreaV;

public class Events {

    public static final String TYPE_KEY = "type";
    public static final int TYPE_MEMBER_DATA = 1;
    public static final int TYPE_MEDICAL_TREATMENT = 2;
    public static final int TYPE_DATA_QUERY = 3;
    public static final int TYPE_BASE_DATA_CURRENT_ADDR = 4;
    public static final int TYPE_BASE_DATA_BIRTH_ADDR = 5;
    public static final int TYPE_SICK_PLACE = 6;
    public static final int TYPE_SICK_PLACE2 = 7;
    public static final int TYPE_PERSON_SELECT = 8;

    /**
     * 县选择
     */
    public static class CountySelectEvent{
        private AreaC areaC;
        private int type;

        public AreaC getAreaC() {
            return areaC;
        }

        public void setAreaC(AreaC areaC) {
            this.areaC = areaC;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }

    /**
     * 村选择
     */
    public static class VillageSelectEvent{
        private AreaV areaV;
        private int type;

        public AreaV getAreaV() {
            return areaV;
        }

        public void setAreaV(AreaV areaV) {
            this.areaV = areaV;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }

    /**
     * token事件
     */
    public static class OverTokenEvent{

    }

    /**
     * 连接事件
     */
    public static class LinkEvent{

    }

    /**
     * 连接失败事件
     */
    public static class ConnectError{

    }

    //需要注册padId
    public static class  resistPadError{}

    public static class registSuccess{}

}
